﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
namespace DHYHN.ASPNET.HoiNghi
{
    public partial class WebForm3 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {   
                sangnv21.sqlConnectionstring = ConfigurationManager.ConnectionStrings["HoiNghiConnectionString"].ConnectionString;
                sangnv21.selectQuery = "SELECT tbResports.reportid, tbResports.userid, tbResports.title, tbResports.description, tbResports.docfileURL, tbResports.slidefileURL, tbResports.filesize, tbResports.created, tbResports.status, tbUsers.userid AS Expr1, tbUsers.firstName, tbUsers.lastName, tbUsers.birthday, tbUsers.address FROM tbResports INNER JOIN tbUsers ON tbResports.userid = tbUsers.userid where tbResports.status='publish'";
                sangnv21.pageSize = 4;            
        }


    }
}